(in-package :cl-daisyui)

(defmacro htmx (hx-get hx-trigger hx-target hx-swap content &rest attrs)
  `(spinneret:with-html
     (:div :hx-get ,hx-get :hx-trigger ,hx-trigger
           :hx-target ,hx-target :hx-swap ,hx-swap
           ,@attrs
           ,content)))
